package com.ctrip.ec.biz.image;

import java.io.IOException;
import java.io.InputStream;

/**
 * Created by jiangzy on 2018/8/31.
 */
public abstract class ImageUpload {

    public  static  ImageUpload create(){
        return new OSSUpload();
    }
    public  abstract  String upload(String fileName, InputStream inputStream) ;
    public  abstract  void delete(String url);
}
